/*******************************************************************************
 * Copyright (c) 2008 Sylvain Sicard.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the GNU Lesser Public License v2.1
 * which accompanies this distribution, and is available at
 * http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
 * 
 * Contributors:
 *     Sylvain Sicard - initial API and implementation
 ******************************************************************************/
package fr.jade.resources.joram.api;

import java.rmi.Remote;

public interface JoramOptimizationManager extends Remote {

	public String getLocation(String cQName, int prodWeight, int consWeight) throws Exception;
	
	public void remove(String cQName, String serverName, int prodWeight, int consWeight) throws Exception;
	
	public void update(String cQName, String server1, String server2, int prodWeight, int consWeight) throws Exception;
}
